package com.example.sunmiv1.utils.net;

import android.app.Activity;
import android.content.SharedPreferences;

import com.example.sunmiv1.BuildConfig;

import org.application.ClientApplication;

/**
 * Created by dingzhe on 2018/3/14.
 */

public class Common {
    static ACache aCache = ACache.get(ClientApplication.context);
    static SharedPreferences sp = ClientApplication.context.getSharedPreferences("context", Activity.MODE_PRIVATE);//創建sp對象
    public static final int flag = BuildConfig.DEBUG?1:1;//0是測試，1是正式
    public static final String CONSTANT = flag == 0 ? "http://294754x1v8.zicp.vip" : "http://" + sp.getString("url", "");//
    //    public static final String CONSTANT = flag == 0 ? "http://294754x1v8.zicp.vip" : "http://" + sp.getString("url", "");//
    public static final String URL = CONSTANT + "/index.php/Terminalapi/Api/android?interface=";//
    public static final String LOGIN = URL + "login_v1";//登錄接口
    public static final String DO_LOGIN = CONSTANT + "/index.php/CashierApi/Login/doLogin_v1";//登錄接口 NEW
    public static final String GET_SELL_COUNT = URL + "sellcount";//獲取店鋪營業數據    "showpurch_price": "2"時無法查看進價
    public static final String GET_INDEX_DETAILS = URL + "cashierlist";//獲取收銀員數據
    public static final String GET_INDEX_DETAILS_CASHIER = URL + "newCashierCollecting";//獲取收銀員數據
    public static final String GET_INDEX_DETAILS_SHOP = URL + "shoppingStoreList";//獲取收銀員數據
    public static final String GET_LOGO = URL + "getLogo";//獲取登陸頁的logo
    /**
     * 收銀
     */
    public static final String GET_GOODS = CONSTANT + "/index.php/CashierApi/GoodsShow/goodsList_v1";


    public static final String ORDER_PAY = CONSTANT + "/index.php/CashierApi/Pay/OrderPay_v3";//支付
    public static final String PLACE_ORDER = CONSTANT + "/index.php/CashierApi/Pay/placeOrderPay_v1";//下單 NEW ||
    public static final String GET_VIP_INFO = CONSTANT + "/index.php/CashierApi/GetVipInfo/vipLogin";//獲取會員卡信息
    public static final String GET_PRINT_INFO = CONSTANT + "/index.php/CashierApi/Order/printOrder_v1";//獲取會員卡信息

    public static final String GET_SHOP_COUPON = CONSTANT + "/index.php/CashierApi/ShopCoupon/basisCodeGetShopCouponInfo"; //獲取商家券 NEW
    public static final String GET_GIF_GOODS = CONSTANT + "/index.php/CashierApi/GoodsGifts/getGoodsGiftsList";//獲取可以贈送的商品
    /**
     * 新增商品
     */
    public static final String ADD_CLASSIFICATION = URL + "goodscate";//添加商品時獲取分類的接口
    public static final String ADD_GOOD = URL + "addgoods_v1";//添加商品
    public static final String UPLOAD_IMG = URL + "uploadFile";//上傳圖片
    public static final String GET_GOOD_NAME = URL + "checkgoodscode";//根據條碼查找商品
    public static final String SKU_INFO = URL + "skuInfo";//獲取規格列表
    public static final String ADD_SKU_ATTR = URL + "addSkuAttr";//添加規格分類
    public static final String ADD_SKU_LIST = URL + "addSkuList";//添加規格名稱

    /**
     * 會員
     */
    public static final String GET_VIP_INDEX = URL + "vipIndex";//獲取會員統計
    public static final String GET_VIP_LIST = URL + "queryMember";//獲取會員列表
    public static final String GET_MEMBER_INFO = URL + "vipInfo";//獲取會員詳細信息
    public static final String VIP_BIND = CONSTANT + "/index.php/Sellapi/GetVipInfo/bindCard";//綁定實體會員卡
    public static final String VIP_UNBIND = CONSTANT + "/index.php/Sellapi/GetVipInfo/untieCard";//解綁實體會員卡
    public static final String GET_GUIDE = CONSTANT + "/index.php/Terminalapi/Base/getGuideList";//獲取導購員
    public static final String ADD_VIP = CONSTANT + "/index.php/Terminalapi/Base/addVipInfo";//新增會員
    public static final String GET_RECHARGE_LIST = URL + "getRechargeActivity";//獲取會員充值列表
    public static final String GET_RECHARGE_COUPON_LIST = CONSTANT + "/index.php/CashierApi/Vip/getRechargeActivity";//獲取會員充值優惠NEW ||

    public static final String GET_VIP_RECORD = URL + "getVipEsteatment";//獲取會員交易記錄
    public static final String RECHARGE_MONEY = URL + "VipRecharge";//會員充值
    public static final String VIP_EDIT = URL + "VipEdit_v1";//會員編輯
    public static final String GET_TODAY_VIP_CARD_INFO = URL + "todayvipcardinfo";//獲取今日會員卡信息
    public static final String GET_TODAY_VIP_RECORD = URL + "todayVipCardList";//獲取今日會員消費記錄

    /*會員模塊*/
    public static final String GET_ACTIVITY_USER_BREAD = URL + "MemberAnalyzeActive";//獲取活躍會員數統計餅狀圖
    public static final String GET_ACTIVE_USER_BY_MONTH = URL + "MemberAnalyzeActiveList";//根據月份獲取會員信息
    public static final String GET_BIRTH_USER_BREAD = URL + "MemberAnalyzeBirth";//獲取會員生日餅狀圖
    public static final String GET_ACTIVE_USER_BY_BIRTH = URL + "MemberAnalyzeBirthList";//根據生日獲取會員列表

    public static final String VIP_RECHARGE_RECORD = URL + "vipRechargeRecord";

    /**
     * 進貨
     */
    public static final String GET_FLOW_ORDER_INFO = URL + "getfloworderinfo";//獲取門店最後一張未確認的進貨單
    public static final String CREATE_FLOW = URL + "dofloworderitemstock";//新建進貨單
    public static final String SEARCH_GOOD = URL + "searchgoods";//關鍵字搜索商品
    public static final String SEARCH_GOOD_NEW = URL + "StockQuery";//關鍵字搜索商品（NEW)
    public static final String SAVE_FLOW = URL + "changefloworderitemnum";//保存進貨單
    public static final String DELETE_DATA = URL + "delflowordergoodsitem";//刪除進貨單
    public static final String GET_SUPPLIER_LIST = URL + "getsupplierlist";//獲取供貨商列表
    public static final String SUBMIT = URL + "submitfloworder";//提交供貨單

    /**
     * 盤點
     */
    public static final String GET_INVENTORY_LIST = URL + "InventoryList";//獲取盤點數據
    public static final String GET_INVENTORY_INFO = URL + "InventoryInfo";//獲取盤點詳情
    public static final String SUBMIT_INVENTORY = URL + "InventorySbu_v1";//提交盤點數據
    public static final String GOODS_LIST_SHOW = URL + "GoodsListShow_v1";//獲取盤點商品列表
    public static final String GET_OLD_INVENTORY = URL + "InventoryConduct";//獲取繼續盤點的商品

    /**
     * 線上訂單
     */
    public static final String GET_ONLINE_ORDER = URL + "onlineorderInfo";//獲取線上訂單
    public static final String SELF_MENTION = CONSTANT + "/index.php/CashierApi/Order/selfMention_v1";//提貨
    public static final String DELIVERY_ORDER = CONSTANT + "/index.php/CashierApi/Order/deliveryOrder_v1";//訂單配送
    public static final String REFUND = CONSTANT + "/index.php/CashierApi/Refund/onlineOrderRefund_v1";//退款
    public static final String GET_UU_DELIVERY_INFO = CONSTANT + "/index.php/CashierApi/Order/getUuDeliveryPrice";//獲取uu配送信息
    public static final String CANCEL_UU_DELIVERY = CONSTANT + "/index.php/CashierApi/Order/cancelDelivery_v1";//取消uu跑腿配送
    public static final String GET_MAKE_DELIVERY_INFO = CONSTANT + "/index.php/CashierApi/Order/getMakeDeliveryPrice";//獲取碼科配送信息 NEW ||
    public static final String ORDER_INFO = CONSTANT + "/index.php/CashierApi/Order/orderInfo_v1";//獲取線上訂單列表 NEW ||

    /**
     * 商品價格查詢
     */
    public static final String SEARCH_GOODS = URL + "searchgoodstwo";//搜索商品
    public static final String SEARCH_GOODS_V1 = URL + "searchgoods_v1";//搜索商品
    public static final String CHANGE_GOOD_PRICE = URL + "submitchangegoodsprice";//修改商品價格
    public static final String UPDATE_GOOD_PRICE = URL + "PriceModify";//修改商品價格

    /**
     * 快速收款
     */
    public static final String QUICK_CASHIER = URL + "QuickCashier_v1";//快速收款支付
    public static final String MEMBER_INFO = URL + "VipSign";//快速收款獲取會員信息
    public static final String GET_CODE = URL + "GetCode";//獲取二維碼
    public static final String QUERY_ORDER = URL + "searchOrderPayState";//查詢訂單狀態
    public static final String QUICK_REFUND = URL + "QuickRefund_v1";//快速收款退款
    public static final String QUICK_LIST = URL + "QuickList";//快速收款列表

    /**
     * 商品銷售明細列表
     */
    public static final String GET_SALE_LIST = URL + "getSellList";//獲取商品銷售明細列表
    public static final String GET_STORE_ORDER = URL + "StoreOrderList";//獲取門店經營訂單
    public static final String GET_CASHIER = URL + "cashierInfo";//獲取門店收銀員列表

    /**
     * 商品入庫
     */
    public static final String GET_ENTER_ORDER_LIST = URL + "SEnterOrderList";//獲取商品入庫單列表
    public static final String GET_ALLOCATE_DETAILS = URL + "SAllocateDetails";//獲取調撥詳情（商戶調撥）
    public static final String GET_ENTER_DETAILS = URL + "SEnterDetails";//獲取入庫詳情（商戶調撥）
    public static final String GET_ENTER_INFO = URL + "SEnterInfo";//獲取商品入庫詳情
    public static final String GOODS_VERIFICATION = URL + "goodsVerification";//判斷商品是否可以入庫
    public static final String ENTER_OPERATION = URL + "SEnterOperation";//商品入庫
    public static final String BATCH_SYNC = URL + "batchSync";//同步商品
    public static final String STORE_REFUSE_WAREHOUSING = URL + "storeRefuseWarehousing";//門店拒收入庫的商品
    public static final String GET_STORE_WAREHOUSING_INFO = URL + "getStoreWarehousingInfo";//獲取單個入庫單的詳情
    public static final String STORE_REFUSE_INFO = URL + "storeRefuseInfo";//獲取拒收詳情

    /**
     * 門店間調撥列表
     */
    public static final String ALLOCATION_TUBE_LIST = URL + "AllocationTube";// 列表
    public static final String ALLOCATION_EXAMINE_ACTION = URL + "ExamineAction";// 通過/拒絕
    public static final String ALLOCATION_DETAILS = URL + "AllocationDetails";// 調撥詳情
    public static final String ALLOCATION_WAREHOUSING_DETAILS = URL + "WarehousingDetails";//  入庫詳情

    /**
     * 出庫單
     */
    public static final String ALLOCATE_ORDER = URL + "AllocateOrder";//獲取商戶出庫列表
    public static final String ALLOCATE_INFO = URL + "AllocateInfo";//商戶出庫單詳情
    public static final String WAREHOUSING_LIST = URL + "WarehousingList";//商戶入庫詳情
    public static final String STORE_ALLOCATION_DETAIL = URL + "SStockDetails";// 向商戶退貨出庫詳情
    public static final String STORE_ALLOCATION_DETAIL1 = URL + "SStockEnterDetails";//  向商戶退貨入庫詳情
    public static final String STORE_ALLOCATION_GOODS = URL + "SStockGoods";//獲取門店調撥出庫商品列表
    public static final String STORE_ALLOCATION_OPERATION = URL + "SStockOperation";//門店出庫操作
    public static final String STORE_INFO = URL + "stoerInfo";//獲取門店列表
    public static final String ALLOCATE_GOODS_LIST = URL + "AllocateGoodsList";//獲取出庫商品列表
    public static final String ALLOCATE_CONFIRM = URL + "AllocateConfirm";//  提交出庫單操作(商戶)
    public static final String STORE_ALLOCATION = URL + "SStockOrderList";//門店出庫列表
    public static final String STORE_SUPPLIER = URL + "storeInfo";//獲取供應商
    public static final String STORE_REDEPLOYMENT = URL + "SStockInfo";//重新調撥

    /**
     * 交班數據
     */
    public static final String RECORD = URL + "record";//獲取交班數據
    public static final String PRINTER_RECORD_DATA = URL + "printerRecordData_v1";//wifi打印交班憑條
    public static final String SUBMIT_WORK = URL + "submitWork";//交班

    /**
     * 採購單
     */
    public static final String STORE_PURCHASE_ORDER = URL + "StorePurchaseOrder";//獲取門店採購單列表
    public static final String MER_PURCHASE_ORDER = URL + "MerPurchaseOrder";//獲取商戶採購單列表
    public static final String STORE_WAREHOUSE_INFO = URL + "StoreWarehouseInfo";//獲取門店採購倉與供貨商信息
    public static final String MER_WAREHOUSE_INFO = URL + "MerWarehouseInfo";//獲取商戶採購倉與供貨商信息
    public static final String STORE_PUR_DETAILS = URL + "StorePurDetails";//獲取門店採購單詳情
    public static final String MER_PUR_DETAILS = URL + "MerPurDetails";//獲取商戶採購單詳情
    public static final String STORE_PUR_GOODS = URL + "StorePurGoods_v1";//採購單.商品選擇(門店)
    public static final String MER_PUR_GOODS = URL + "MerPurGoods_v1";// 採購單.商品選擇(商戶)
    public static final String STORE_PURCHASE_OPERATION = URL + "StorePurchaseOperation";//門店採購提交操作
    public static final String MER_PURCHASE_OPERATION = URL + "MerPurchaseOperation";//商戶採購提交操作
    public static final String MER_PURCHASE_EDIT = URL + "MerPurOrderEdit";//    商戶編輯採購後提交
    public static final String STORE_PURCHASE_EDIT = URL + "StorePurEdit";//    門店編輯採購後提交
    public static final String STORE_WAREHOUSE_OPERATION = URL + "StoreWarehouseOperation";//門店入庫操作
    public static final String MER_WAREHOUSE_OPERATION = URL + "MerWarehouseOperation";//商戶入庫操作
    public static final String STORE_PUR_EDIT = URL + "StorePurEdit";//編輯採購後提交

    /**
     * 採購管理.採購退貨(門店)
     */
    public static final String INFO_STORE_AND_WAREHOUSE_2 = URL + "StoreWarehouseInfo";//採購倉與供貨商信息
    public static final String ORDER_STORE_RETREAT_2 = URL + "StoreRetreatOrder";//退貨列表
    public static final String DETAILS_STORE_RETREAT_2 = URL + "StoreRetreatDetails";//  退貨詳情
    public static final String GOODS_STORE_RETREAT_2 = URL + "StoreRetreatGoods";// 選擇採購退貨的商品
    public static final String GOODS_STORE_RETREAT_ACTION_2 = URL + "StoreRetreatAction";    // 退貨提交操作

    /**
     * 採購管理.採購退貨(商戶)
     */
    public static final String INFO_STORE_AND_WAREHOUSE_1 = URL + "MerWarehouseInfo";//採購倉與供貨商信息
    public static final String ORDER_STORE_RETREAT_1 = URL + "MerRetreatOrder";//退貨列表
    public static final String DETAILS_STORE_RETREAT_1 = URL + "MerRetreatDetails";//  退貨詳情
    public static final String GOODS_STORE_RETREAT_1 = URL + "MerRetreatGoods";// 選擇採購退貨的商品
    public static final String GOODS_STORE_RETREAT_ACTION_1 = URL + "MerRetreatAction";    // 退貨提交操作

    /**
     * 報損管理
     */
    public static final String LOSS_REPORT_LIST = URL + "LossReportList";//商戶獲取報損列表
    public static final String STORE_LOSS_REPORT_LIST = URL + "StoreLossReportList";//門店獲取報損列表
    public static final String LOSS_INFO = URL + "LossInfo";//商戶獲取報損詳情
    public static final String STORE_LOSS_INFO = URL + "StoreLossInfo";//門店獲取報損詳情
    public static final String LOSS_GOODS_LIST = URL + "LossGoodsList_v1";//商戶獲取商品列表
    public static final String STORE_LOSS_GOODS_LIST = URL + "StoreLossGoodsList";//獲取門店報損商品列表
    public static final String LOSS_OPERATION = URL + "LossOperation";//商戶提交報損操作
    public static final String STORE_LOSS_OPERATION = URL + "StoreLossOperation";//門店提交報損操作

    /**
     * 賒賬
     */
    public static final String GET_CREDIT_ORDER_LIST = CONSTANT + "/index.php/CashierApi/Order/orderOfWaterList";//獲取賒賬用戶列表
    public static final String GET_CREDIT_USER_LIST = CONSTANT + "/index.php/Credit/CreditArrearage/getArrearageList";//獲取賒賬用戶列表
    public static final String GET_STORE_STATISTICS = CONSTANT + "/index.php/Credit/Statistics/storeCreditStatistics";//獲取門店賒賬統計
    public static final String GET_REPAY_RECORD = CONSTANT + "/index.php/Credit/CreditRepayment/getRepayRecord";//獲取用戶還款記錄
    public static final String GET_USER_QUOTA1 = CONSTANT + "/index.php/Credit/Creditor/getQuota_1";//獲取設置用戶額度設置
    public static final String GET_USER_QUOTA2 = CONSTANT + "/index.php/Credit/Creditor/getQuota_2";//獲取批量設置用戶額度設置
    public static final String SET_USER_QUOTA = CONSTANT + "/index.php/Credit/Creditor/setUserQuota";//設置賒賬用戶額度
    public static final String DELETE_CREDIT_USER = CONSTANT + "/index.php/Credit/Creditor/delCreditUser";//刪除賒賬用戶
    public static final String GET_USER_ARREARAGE = CONSTANT + "/index.php/Credit/CreditArrearage/getUserArrearage";//獲取用戶賒賬記錄
    public static final String REPAY_PORT = CONSTANT + "/index.php/Credit/CreditRepayment/repayPort";//賒賬還款
    public static final String GET_CREDIT_VIP_LIST = CONSTANT + "/index.php/Credit/Creditor/getVipList";//獲取會員列表
    public static final String ADD_CREDIT_USER = CONSTANT + "/index.php/Credit/Creditor/addCreditUser";//添加賒賬用戶
    public static final String GET_STORE_QUOTA = CONSTANT + "/index.php/Credit/Creditor/getStoreQuota";//獲取門店賒賬額度


    /**
     * 掃描商品
     */
    public static final String LOSS_SCAN_CODE_GOODS = URL + "lossScanCodeGoods";//報損掃描商品

    public static final String INVENTORY_SCAN_CODE_GOODS = URL + "InventoryScanCodeGoods";//盤點掃描商品

    public static final String MER_PUR_SCAN_CODE_GOODS = URL + "MerPurScanCodeGoods";//商戶採購掃描商品
    public static final String STORE_PUR_SCAN_CODE_GOODS = URL + "StorePurScanCodeGoods";//門店採購掃描商品

    public static final String MER_RETREAT_SCAN_CODE_GOODS = URL + "MerRetreatScanCodeGoods";//商戶採購退貨掃描商品
    public static final String STORE_RETREAT_SCAN_CODE_GOODS = URL + "StoreRetreatScanCodeGoods";//門店採購退貨掃描商品

    public static final String Allocate_SCAN_CODE_GOODS = URL + "AllocateScanCodeGoods";//商戶出庫掃描商品
    public static final String S_STOCK_SCAN_CODE_GOODS_V1 = URL + "SStockScanCodeGoods_v1";//門店出庫掃描商品

    public static final String DELETE_GOODS_RECORD = URL + "deleteGoodsRecord";//門店出庫掃描商品
//    public static final String LOSS_SCAN_CODE_GOODS = URL + "lossScanCodeGoods";//門店提交報損操作


    /**
     * 會員標籤
     */
    public static final String GET_VIP_LABEL = CONSTANT + "/index.php/CashierApi/VipLabel/getVipLabel";//獲取所有的會員標籤
    public static final String DEL_VIP_LABEL = CONSTANT + "/index.php/CashierApi/VipLabel/delVipLabel";//刪除會員標籤
    public static final String ADD_VIP_LABEL = CONSTANT + "/index.php/CashierApi/VipLabel/addVipLabel";//添加會員標籤
    public static final String EDIT_VIP_LABEL = CONSTANT + "/index.php/CashierApi/VipLabel/editVipLabel";//編輯會員標籤
    public static final String GET_USER_LABEL = CONSTANT + "/index.php/CashierApi/VipLabel/getUserLabel";//獲取當前會員標籤
    public static final String DEL_USER_LABEL = CONSTANT + "/index.php/CashierApi/VipLabel/delUserLabel";//獲取當前會員標籤
    public static final String ADD_USER_LABEL = CONSTANT + "/index.php/CashierApi/VipLabel/addUserLabel";//獲取當前會員標籤

    /**
     * 會員分析
     */
    public static final String GET_GOODS_CLASS_SELL = CONSTANT + "/index.php/CashierApi/MemberAnalyze/getGoodsClassSell";//獲取商品類目
    public static final String GET_USER_LIST = CONSTANT + "/index.php/CashierApi/MemberAnalyze/getUserList";//購買能力分析-會員列表
    public static final String GET_BUY_CLASS = CONSTANT + "/index.php/CashierApi/MemberAnalyze/getGoodsClassByConditions";//會員購買類目列表

    /**
     * 商品管理
     */
    public static final String BATCH_OPERATE_GOODS = CONSTANT + "/index.php/Terminalapi/GoodsManage/batchOperateGoods";//
    public static final String DEL_GOODS_INFO = CONSTANT + "/index.php/Terminalapi/GoodsManage/delGoodsInfo";//
    public static final String GET_GOODS_LIST = CONSTANT + "/index.php/Terminalapi/GoodsManage/getGoodsList";//獲取商品管理商品列表
    public static final String GET_GOODS_CLASS_LIST = CONSTANT + "/index.php/Terminalapi/GoodsManage/getGoodsClass";//獲取商品分類列表
    public static final String OPERATE_GOODS_INFO = CONSTANT + "/index.php/Terminalapi/GoodsManage/operateGoodsInfo";//獲取商品分類列表
    public static final String GET_STORE_FREIGHT_TEM = CONSTANT + "/index.php/Terminalapi/GoodsManage/getStoreFreightTem";//獲取商品分類列表
    public static final String GET_SELECT_BRAND = CONSTANT + "/index.php/Terminalapi/GoodsManage/getSelectBrand";//獲取商品分類列表
    public static final String GET_GOODS_LABEL_LIST = CONSTANT + "/index.php/Terminalapi/GoodsManage/getGoodsLabelList";//獲取商品分類列表
    public static final String GET_UNIT_SELECT = CONSTANT + "/index.php/Terminalapi/GoodsManage/getUnitSelect";//獲取單位列表
    public static final String GET_GOODS_YIELDLY_LIST = CONSTANT + "/index.php/Terminalapi/GoodsManage/getGoodsYieldlyList";//獲取商品產地
    public static final String UPLOAD_FILE = CONSTANT + "/index.php/Terminalapi/GoodsManage/addGoodsImage";//上傳圖片和視頻
    public static final String GET_GOOD_INFO = CONSTANT + "/index.php/Terminalapi/GoodsManage/getGoodsInfo";//獲取商品詳情
    public static final String GET_GOOD_SKU = CONSTANT + "/index.php/Terminalapi/GoodsManage/getGoodsSkuAttr";//獲取商品詳情
    public static final String GET_GOOD_SET = CONSTANT + "/index.php/Terminalapi/GoodsManage/getEditMGoodsBaseSet";//商品可編輯設置

    /**
     * 串碼
     */
    public static final String SEARCH_SERIAL = CONSTANT + "/index.php/CashierApi/Order/searchSerial";//串號搜索

    public static final String INVENTORY_SERIAL = URL + "inventorySerial";//獲取串號詳情
    public static final String SALE_SERIAL_LIST = URL + "SaleSerialList";//獲取串號詳情

    public static final String MER_PUR_DETAIL_SERIAL_LIST = URL + "merPurDetailSerialList ";//獲取串號詳情
    public static final String STORE_PUR_DETAIL_SERIAL_LIST = URL + "storePurDetailSerialList ";//獲取串號詳情

    public static final String MER_RETREAT_DETAIL_SERIAL = URL + "merRetreatDetailSerial";//獲取採購退貨串號詳情 商戶
    public static final String STORE_RETREAT_DETAIL_SERIAL = URL + "storeRetreatDetailSerial ";//獲取採購退貨串號詳情 門店

    public static final String INVENTORY_SERIAL_VERIFY = URL + "inventorySerialVerify";//盤點單個商品串號驗證

    public static final String MER_PUR_GOODS_SERIAL_VERIFY = URL + "MerPurGoodsSerialVerify";//採購單個商品串號驗證 商戶
    public static final String STORE_PUR_GOODS_SERIAL_VERIFY = URL + "StorePurGoodsSerialVerify";//採購單個商品串號驗證 門店

    public static final String MER_RETREAT_GOODS_SERIAL = URL + "MerRetreatGoodsSerial";//採購退貨可退商品串號列表 商戶
    public static final String STORE_RETREAT_GOODS_SERIAL = URL + "StoreRetreatGoodsSerial";//採購退貨可退商品串號列表 門店

    public static final String LOSS_GOODS_SERIAL = URL + "LossGoodsSerial";//出庫商品串號列表 門店和商戶

    public static final String STOCK_GOODS_INFO_SERIAL = URL + "stockGoodsInfoSerial  ";//獲取出庫單串號詳情 商戶和門店

    public static final String STORE_DETAIL_SERIAL = URL + "storeDetailsSerial ";//獲取商戶出庫單入庫串號詳情

    public static final String REFUSE_SERIAL = URL + "refuseSerial ";//獲取商戶出庫單拒收串號詳情

    public static final String LOSS_INFO_SERIAL = URL + "lossInfoSerial";//獲取商戶報損單詳情
    public static final String STORE_LOSS_INFO_SERIAL = URL + "storeLossInfoSerial";//獲取門店報損單詳情
    public static final String SELL_SERIAL_LIST = URL + "sellSerialList";//商品銷售明細串碼列表

    public static final String SELL_LIST = URL + "sell_list";//獲取門店報損單詳情

    public static final String CONFIRM_DISTRIBUTION_GOODS = CONSTANT + "/index.php/CashierApi/Order/confirmDistributionGoods";//搜索配送商品串碼

    public static final String DELIVERY_ORDER_V2 = CONSTANT + "/index.php/CashierApi/Order/deliveryOrder_v2";//搜索配送商品串碼

    public static final String ADD_PURCHASE_ORDER_BASICS = URL + "addPurchaseOrderBasics";//採購單零售價和商城價是否展示權限

    public static final String SERIAL_MODIFY = URL + "serialModify";//修改配送商品串碼

    public static final String SERIAL_MODIFY_RECORD = CONSTANT + "/index.php/CashierApi/Order/serialModifyRecord";//修改串碼記錄

}
